VERSION 5.00
Begin VB.Form FrmFeedback 
   ClientHeight    =   4290
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   4290
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   WindowState     =   2  'Maximized
   Begin VB.CommandButton cmdCancel 
      Cancel          =   -1  'True
      Height          =   495
      Left            =   2040
      TabIndex        =   5
      Top             =   5880
      Width           =   1215
   End
   Begin VB.CommandButton cmdSend 
      Height          =   495
      Left            =   600
      TabIndex        =   4
      Top             =   5880
      Width           =   1215
   End
   Begin VB.TextBox txtFeedback 
      Height          =   4215
      Left            =   3360
      MultiLine       =   -1  'True
      TabIndex        =   2
      Top             =   3600
      Width           =   4095
   End
   Begin VB.TextBox TxtName 
      Height          =   495
      Left            =   2040
      TabIndex        =   0
      Top             =   600
      Width           =   2055
   End
   Begin VB.Label lblFeedback 
      Height          =   855
      Left            =   1800
      TabIndex        =   3
      Top             =   3600
      Width           =   1575
   End
   Begin VB.Label lblName 
      Height          =   495
      Left            =   480
      TabIndex        =   1
      Top             =   600
      Width           =   1935
      WordWrap        =   -1  'True
   End
End
Attribute VB_Name = "FrmFeedback"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCancel_Click()
Unload Me
End Sub


Private Sub cmdSend_Click()
Dim result As Byte

If txtFeedback.Text = "" Then
MsgBox lang.Messages(81), vbOKOnly + vbCritical, lang.Messages(20)
Else
txtFeedback.Text = Replace(txtFeedback.Text, vbCrLf, "\n")
result = modAC.GetHtml(SPrintF(FeedbackUrl, TxtName.Text, txtFeedback.Text))
If result = fb_success Then
MsgBox lang.Messages(78), vbOKOnly + vbInformation, lang.Messages(76)
ElseIf result = fb_failed Then
MsgBox lang.Messages(82), vbOKOnly + vbInformation, lang.Messages(20)
Else
MsgBox SPrintF(lang.Messages(83), SoftwareName), vbOKOnly + vbCritical, lang.Messages(20)
End If
Unload Me
End If


End Sub

Private Sub Form_Load()
Me.Caption = lang.Messages(76)
MsgBox lang.Messages(77), vbOKOnly + vbInformation, lang.Messages(76)
lblName.Caption = lang.Messages(79)
lblFeedback.Caption = lang.Messages(80)
cmdSend.Caption = lang.Buttons(13)
cmdCancel.Caption = lang.Buttons(3)

End Sub

